package com.jiaai.shop.store.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author
 * @since 2018-04-11
 */
@TableName("t_member_goods")
public class TMemberGoods extends Model<TMemberGoods> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	private String mId;
	private Integer goodsId;
	private Integer presentedIntegral;
	private Date integralEffectivetime;
	private Integer integral;
	private Integer num;
	private BigDecimal goodsPrice;
	private Date buyTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getmId() {
		return mId;
	}

	public void setmId(String mId) {
		this.mId = mId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Integer getPresentedIntegral() {
		return presentedIntegral;
	}

	public void setPresentedIntegral(Integer presentedIntegral) {
		this.presentedIntegral = presentedIntegral;
	}

	public Date getIntegralEffectivetime() {
		return integralEffectivetime;
	}

	public void setIntegralEffectivetime(Date integralEffectivetime) {
		this.integralEffectivetime = integralEffectivetime;
	}

	public Integer getIntegral() {
		return integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	public Integer getNum() {
		return num;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public BigDecimal getGoodsPrice() {
		return goodsPrice;
	}

	public void setGoodsPrice(BigDecimal goodsPrice) {
		this.goodsPrice = goodsPrice;
	}

	public Date getBuyTime() {
		return buyTime;
	}

	public void setBuyTime(Date buyTime) {
		this.buyTime = buyTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
